<?php
class Vote extends AbstractVote
{
	var $belongsTo = array(
						'Review'=>array(
							'className'=>'Review',
							'foreignKey'=>'item_id',
							'counterCache'=>true,
							'counterScope'=>array('Vote.type'=>'Review','Vote.score'=>self::TYPE_UP_VALUE)
							)
						);
}
?>